﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;

namespace StorageBox
{
    public partial class MainWindow : Window
    {
        #region AddApplyBox
        private void MessageTemplate_AddApplyBox_Confirm_Click(object sender, RoutedEventArgs e)
        {
            var factory = BoxApplication.GetManager<ElementFactoryManager>().GetFactory<AddApplyElement>() as AddApplyFactory;
            string path, iconPath;
            factory.GetValue(out path, out iconPath);

            Console.WriteLine($"Path:{path},Icon:{iconPath}");
            //此处已经获得到了数据,现在需要进行判断,并进行添加操作
            //还需要进行添加节点元素操作
            //需要进行点击调用程序的问题目前还是未知的
        }
        #endregion


    }
}
